/*
 * NetRayt
 * Copyright (c) 2007-2008 Maciej Nabozny.
 *
 * NetRayt is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * NetRayt is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with NetRayt; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

#ifndef _SERVER_INFO
#define _SERVER_INFO

#include <QObject>
#include "conn_class/conn.h"

/*
 * Klasa do przechowywania informacji o serwerze
 * (w przyszlości trzeba przenieść do serverThread)
 */
class serverInfo {
	public:
		// Info o hoscie:
		QString host;
		int port, cpuc, cpuf, mem;	// inf. o komputerze
		bool yafray, indigo, blender;	// dostepne raytracery
	
		// Info o kawałku sceny
		double scenePart;		// ilośc przydzielonej sceny (w %)
		double x1, x2;			// wspolrzedne fragmentu
		bool vertical;			// 1 - Podzial pionowy, 2 - poziomy
};

#endif
